package dao;

import utils.DBHelper;

import java.util.Map;

public class BackLoginDao {

    public Map<String, Object> login(String name, String password){
        String sql = "select * from employee where name=? and telphone=? and position='管理员'";
        Map<String, Object> map = DBHelper.selectOneMap(sql, name, password);
        return map;
    }

}
